
.error-list {
  display: grid;
  list-style: none;
  padding: 0;
  overflow: hidden;

  @media screen and (max-width: 600px) {
    margin: 0 0 0 -8px;
  }

  li {
    @include font-size(14);
    margin: 8px 0;
    @include line-height(14);
    padding: 0;
    float: left;
    overflow: hidden;
    min-width: 220px;
    text-overflow: ellipsis;
    white-space: nowrap;

    .symbol {
      &.runtime {
        background: $green-500;
      }

      &.compiler {
        background: $blue-500;
      }
    }

    .symbol.runtime:before {
      content: "R";
    }

    .symbol.compiler:before {
      content: "C";
    }

    a {
      color: $blue-grey-600;
      display: inline-block;
      @include line-height(16);
      padding: 0 16px 0;
      text-decoration: none;
      transition: all .3s;
      overflow: hidden;
      text-overflow: ellipsis;

      &:hover {
        background: $blue-grey-50;
        color: $blue-500;
      }
    }
  }
}

.error-video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;

  iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
